Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 14e28968aa7afca5141741f53dae48e6781bf771


Parents : 6f96f26
Author : Ivan <e46112d44649266d71fe2193e00a4710>
Signature : T66BB85Valid, signed by author
Date : 2026-07-18T13:01:54-05:00

cleanup

Changes

3 files changed, 7 insertions(+), 2 deletions(-)


Diff

diff --git a/meshchatx.rsm b/meshchatx.rsm
index c9e63e46..b03bd4ba 100644
Binary files a/meshchatx.rsm and b/meshchatx.rsm differ

diff --git a/meshchatx/src/backend/telephone_manager.py b/meshchatx/src/backend/telephone_manager.py
index 4676f979..6889b4e7 100644
--- a/meshchatx/src/backend/telephone_manager.py
+++ b/meshchatx/src/backend/telephone_manager.py
@@ -231,7 +231,10 @@ class TelephoneManager:
if phone is None:
return
previous = getattr(phone, "_Telephone__link_closed", None)
- if previous is None or getattr(previous, "_meshchatx_link_cleanup", False) is True:
+ if (
+ previous is None
+ or getattr(previous, "_meshchatx_link_cleanup", False) is True
+ ):
return
def _link_closed(link, previous=previous, phone=phone):

diff --git a/tests/backend/test_telephone_call_policy.py b/tests/backend/test_telephone_call_policy.py
index 67228313..ede7060a 100644
--- a/tests/backend/test_telephone_call_policy.py
+++ b/tests/backend/test_telephone_call_policy.py
@@ -8,7 +8,9 @@ from meshchatx.src.backend.telephone_manager import TelephoneManager
@patch("meshchatx.src.backend.telephone_manager.Telephone")
-def test_init_telephone_disables_auto_answer_and_applies_policy(mock_tel_class, tmp_path):
+def test_init_telephone_disables_auto_answer_and_applies_policy(
+ mock_tel_class, tmp_path
+):
storage_dir = tmp_path / "tel"
storage_dir.mkdir()
cfg = MagicMock()


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────